package org.zongf.learn.grpc.starter.anno;

import io.grpc.stub.AbstractStub;

import java.lang.annotation.*;

@Documented
@Target({ElementType.TYPE})   // 注解可以添加到方法上
@Retention(RetentionPolicy.RUNTIME) // 运行时生效
public @interface GrpcClient {

    Class<? extends AbstractStub> stub();

    String service();

}
